<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
request.setCharacterEncoding("utf-8");
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<%=basePath%>" />
<jsp:include page="/jsp/admin/common.jsp" />
<jsp:include page="/jsp/tableHead.jsp" />
<script type="text/javascript">
$().ready(function(){

	var option = {
			head : [
		            {name:"name",title:"名称",width:300},
		            {name:"seq",title:"排序",width:100},
		            {name:"operation",title:"操作",width:300}
		            ],
            addURL : "<%=basePath %>admin/categoryParam_edit.do",
            searchURL : "<%=basePath %>admin/categoryParam_list.do",
            editURL : "<%=basePath %>admin/categoryParam_edit.do",
            deleteURL : "<%=basePath %>user/order_delete.do",
            table_Option : {
				head : {sortable: false, selectAll: {require:false}},
				row : { selectable : false },
				foot : { require : false, pageNum : 1, pageSize : 100}
			},
            queryFn : function(){
                
				var $table = default_Option.$table,
					$search = default_Option.$search,
					pageSize = 100,
					pageNum = 1;
		
				$search.setPageNum(pageNum);
				$search.setPageSize(pageSize);
				$search.doSearch();
    		}
       };
	initTable(option);
});
</script>
</head>
<body onload="">
<div class="path">
	<a href="">首页</a> &raquo; 商品分类列表<span>(共<span id="pageTotal"></span>条记录)</span>
</div>
<div class="bar">
	<jsp:include page="../search.jsp">
		<jsp:param value="name,名称,LIKE,true" name="searchKey"/>
		<jsp:param value="true" name="delete"/>
		<jsp:param value="true" name="page"/>
	</jsp:include>
</div>
<table id="listTable" class="list">
</table>
</body>
</html>